<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@page  import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>

	<shiro:guest>
	
	<div><a href="<%=request.getContextPath() %>/html/demo/login">登录</a></div><br/>
	</shiro:guest>
	<shiro:user>
    <div><a href="<%=request.getContextPath() %>/html/demo/logout">退出</a></div><br/>
	</shiro:user>
	
    <div class='disclaimer'>装饰标签即body上半部分</div>
    
    <sitemesh:write property='body'></sitemesh:write>
    
    <div class='navigation'>
      <b>Examples:</b>
    装饰标签即body下半部分
    </div>

</body>
</html>